package interfacetest;

public class interfacetest1 {
    public static void main(String[] args) {
        myimpl my = new myimpl();
        my.show();
        my.show1();

        }
    }


    interface My{
        public abstract void show();
        default void show1(){
            System.out.println("我是傻子啊啊");
        }
    }
     class myimpl implements My {

        @Override
        public void show() {
            System.out.println("我是傻逼");
        }
    }

